/*
 * @Author: LVGRAPE
 * @LastEditors: LVGRAPE
 */
#pragma once

#ifdef __cplusplus
extern "C"{
#endif // __cplusplus

#include <stdint.h>

void syn6288_init(void *uartFun);
uint8_t* syn6288_get_cmd_stream(uint8_t cmd, uint8_t cmdValue, uint8_t *textBuffer,uint8_t *outBuffer, uint8_t *outBufferSize);
void syn6288_set_baudrate(uint32_t baudrate);
void syn6288_stop_broadcast(void);
void syn6288_pause_broadcast(void);
void syn6288_resume_broadcast(void);
void sync6288_setBroadText(uint8_t *msg);
void sync6288_setup(void);
void sync6288_broadcast(const char *msg);
void syn6288_zino_support(SerialHandle_s *serial1);
void sync6288_test();
#ifdef __cplusplus
}
#endif // __cplusplus